package models

type Download struct {
	Id int64 `xorm:"oid"`

	Downloadguid   string `json:"DownloadGuid" xorm:"not null UUID"`
	Usedownloadurl int    `json:"UseDownloadUrl" xorm:"not null BIT(1)"`
	Downloadurl    string `json:"DownloadUrl" xorm:"VARCHAR"`
	Downloadbinary []byte `json:"DownloadBinary" xorm:"bit varying"`
	Contenttype    string `json:"ContentType" xorm:"VARCHAR"`
	Filename       string `json:"Filename" xorm:"VARCHAR"`
	Extension      string `json:"Extension" xorm:"VARCHAR"`
	Isnew          int    `json:"IsNew" xorm:"not null BIT(1)"`
}
